package models.spider.sink;


/**
 * 
 * @author laurent@opprecht.info
 */
public class Status extends SinkBase {
	/*
	 * protected ISink success; protected ISink error;
	 * 
	 * public Status(ISink success, ISink error) { this.success = (success ==
	 * null) ? EMPTY : success; this.error = (error == null) ? EMPTY : error; }
	 * 
	 * public Status(ISink success) { this(success, null); }
	 * 
	 * public Status() { this(null, null); }
	 * 
	 * @Override public List<String> sink(Object object) { if (object instanceof
	 * Request) { return sink((Request) object); } else { return
	 * error.sink(object); } }
	 * 
	 * public List<String> sink(Request request) { if (request.isValid()) {
	 * return success.sink(request); } else { return error.sink(request); } }
	 */
}
